<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 
    <meta charset="utf-8"> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <title>人员管理</title> 
<link href="/assets/background/css/base.css" rel="stylesheet">
<link href="/assets/background/css/backend/person_manger.css" rel="stylesheet">
<script type="text/javascript" src="/assets/background/js/jquery.js"></script>

</head> 
<script type="text/javascript">

function deletemyreplenishment(userid){
	if(confirm("确定删除该用户权限？")){
		var url = "/seller/relenisment/delete";
		$.post(
			url,
			{id:userid},
			function(data){
				alert(data);
				window.location.href = "/seller/relenisment/myRelenishment";
			}
		);
	}
}

</script>
<body>
    <div class="container">
        <div id="inner-hd">
            <div class="crumbs">
				<i class="crumbs-arrow"></i>
				<a href="javascript:;" class="crumbs-label">我的补货员</a>
			</div>
        </div>

        <div id="inner-bd">
        	<div class="tab-wraper">
        	</div>
            


            <div class="kv-group-outer">
		        <div class="kv-group clearfix">
			    
		        </div>
		    </div>

      
			
		<div class="add-manage">
		
			
			<table class="grid">
				<colgroup>
					<col width="50"></col>
					<col width="70"></col>
					<col width="200"></col>
					<col width="200"></col>
					<col width="140"></col>
					<col width="*"></col>
					<col width="120"></col>
				</colgroup>
				<thead>
					<tr>
						<th class="grid-checkbox"><input type="checkbox"></th>
						<th class="num">序号</th>
						<th>头像</th>
						<th>昵称</th>
						<th>性别</th>
						<th>openid</th>
						<th>操作</th>
					</tr>
				</thead>
				
				<tbody id="userTbody">
					<c:forEach var="u" items="${uList }" begin="0" varStatus="status">
						<tr>
							<td class='grid-checkbox'><input type='checkbox'></td>
							<td class='num'>${status.index+1 }</td>
							<td><img src='${u.uPhoto }' width='50px' height='50px'></td>
							<td>${u.uName }</td>
							<td>${u.uSex }</td>
							<td>${u.openId }</td>
							<td><input type='button' value='删除' onclick='deletemyreplenishment(${u.id})'></td>
							</tr>
					</c:forEach>
				
				</tbody>
			</table>
			
		</div>
			
        </div>

    </div>

</body> 
</html>
